table,
.table {
    --bs-table-bg: transparent;
    --bs-table-accent-bg: transparent;
    --bs-table-striped-color: #212529;
    --bs-table-striped-bg: rgba(0, 0, 0, 0.05);
    --bs-table-active-color: #212529;
    --bs-table-active-bg: rgba(0, 0, 0, 0.1);
    --bs-table-hover-color: #212529;
    --bs-table-hover-bg: rgba(0, 0, 0, 0.075);
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    vertical-align: top;
    border-color: #dee2e6;
    caption-side: bottom;
    border-collapse: collapse;
}


    .table > :not(caption) > * > * {
        padding: 0.5rem 0.5rem;
        background-color: var(--bs-table-bg);
        border-bottom-width: 1px;
        box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
    }

    .table > tbody {
        vertical-align: inherit;
    }

    .table > thead {
        vertical-align: bottom;
    }

    .table > tbody:not(:last-child) > :last-child > * {
        border-bottom-color: currentColor;
    }


th {
    text-align: inherit;
}

thead,
tbody,
tfoot,
tr,
td,
th {
    border-color: inherit;
    border-style: solid;
    border-width: 0;
}

.table-bordered > :not(caption) > * {
    border-width: 1px 0;
}

    .table-bordered > :not(caption) > * > * {
        border-width: 0 1px;
    }

.table-sticky.first-col-sticky tr > *:first-child {
    right: 0;
    position: -webkit-sticky;
    position: sticky;
    border-left: 1px solid #f7f7ff;
    z-index: 1;
    background: white;
}

[cnt]{
    text-align:center;
}

[brdr] {
    border-left: 1px solid lightgray;
}

[dir=ltr] [brdr] {
    border-left: none;
    border-right: 1px solid lightgray;
    padding-right: 1rem;
}

[dir=ltr] [brdr]  + *{
    padding-left:1rem;
}

.odd{border-color: white;background: rgb(239 239 239 / 25%);}

    .odd ~ tr:not(.odd) {
        border-color: #f4f4f4;
    }


.td-img{
    text-align:center;
}
.td-img img {
    /* max-width: 2rem; */
    max-height: 3rem;
}

.grid.table {
    display: grid;
    margin: 0;
    grid-template-columns: repeat( auto-fit, minmax(10rem, 1fr) );
    grid-gap: 1rem;
}
.grid-items > form{
    display:flex;
    align-items: baseline;
}
.grid.table > .form-group{
    margin:0;
}

.grid-items > form:not(:first-child) .form-group label {
    display: none;
}

    .grid-items > form:first-child{align-items: center;}

    .grid-items > form:first-child .form-group label {
       position:sticky;
       top:0;
       z-index:1;
       background:white;
    }




.grid-item{
    background:white;
    padding:1rem;
    margin-bottom: 5px;
}

    .grid-item .grid {
        grid-template-columns: repeat( auto-fit, minmax(1rem, auto) );
    }

.grid-items .grid-item{
    padding:.5rem 0;
}